package org.wangle.api.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangle
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
    public class Goods implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 商品id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
   * 商品名称
   */
    private String name;

    /**
   * 商品简介
   */
    private String des;

    /**
   * 状态
   */
    private Integer state;

    /**
   * 库存
   */
    private Integer stock;


}
